package com.googlecode.dgwt.client.dijit.base.widget;

import com.google.gwt.user.client.Event;
import com.googlecode.dgwt.client.dijit.Widget;
import com.googlecode.dgwt.client.dijit.theme.Theme;

/**
 * @author wellsantos@wellsantos.com
 * @since 0.01
 */
public interface UIHandler {

    public void buildRendering();

    public void initialize();

    public void onPostCreate();

    public void onStartup();

    public void onBrowserEvent(Event event);

    public void onThemeChanged(Theme oldTheme);

    public void onThemeChanging(Theme newTheme);

    public void doAttachChildren();

    public void doDetachChildren();
    
    public Widget getWidget();

}